package com.parsec.sb.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class HelloController {
    @RequestMapping("/hello/world")
    public String helloWorld(String name) {
        String str = "hello world," + name;
        log.info(str);
        return str;
    }
}
